package com.leijie.io.decorator;

/**
 * @author LeiJie
 * @time 2020-5-8 14:58
 * @desc 护士 过滤流
 */
public class Nurse extends PersionDecor {
    Nurse(Persion persion) {
        super(persion);
    }

    @Override
    public void doSomeThing() {
        super.doSomeThing();
        doOtherSomeThing();
    }

    public void doOtherSomeThing(){
        System.out.print("护士>>>");
    }
}
